import { login } from './login'
import {
  getUserList,
  changeUserState,
  addUser,
  getUserInfoById,
  editUserInfo,
  deleteUserById,
  resetUserRoles
} from './user'
import { getRightsList, getMenus } from './power'
import {
  getRolesList,
  removeRolesRightsById,
  resetRolesRight,
  addRole,
  editRole,
  deleteRole
} from './roles'
import {
  getGoodsCate,
  addGoodsCate,
  editGoodsCate,
  deleteGoodsCateById
} from './goodscate'
import {
  getGoodsParamsList,
  addParams,
  getParamsById,
  editParams,
  deleteParamsById
} from './goodsparams'
import { getGoodsList, deleteGoodsById, addGoods } from './goodslist'
import { getOrderList, getGoodsProgress } from './order'
import { getFoldLinePic } from './report'

export const loginAPI = login
export const getMenusAPI = getMenus
export const getUserListAPI = getUserList
export const changeUserStateAPI = changeUserState
export const addUserAPI = addUser
export const getUserInfoByIdAPI = getUserInfoById
export const editUserInfoAPI = editUserInfo
export const deleteUserByIdAPI = deleteUserById
export const getRightsListAPI = getRightsList
export const getRolesListAPI = getRolesList
export const removeRolesRightsByIdAPI = removeRolesRightsById
export const resetRolesRightAPI = resetRolesRight
export const resetUserRolesAPI = resetUserRoles
export const addRoleAPI = addRole
export const editRoleAPI = editRole
export const deleteRoleAPI = deleteRole
export const getGoodsCateAPI = getGoodsCate
export const addGoodsCateAPI = addGoodsCate
export const editGoodsCateAPI = editGoodsCate
export const deleteGoodsCateByIdAPI = deleteGoodsCateById
export const getGoodsParamsListAPI = getGoodsParamsList
export const addParamsAPI = addParams
export const getParamsByIdAPI = getParamsById
export const editParamsAPI = editParams
export const deleteParamsByIdAPI = deleteParamsById
export const getGoodsListAPI = getGoodsList
export const deleteGoodsByIdAPI = deleteGoodsById
export const addGoodsAPI = addGoods
export const getOrderListAPI = getOrderList
export const getGoodsProgressAPI = getGoodsProgress
export const getFoldLinePicAPI = getFoldLinePic
